package com.show.business.integrate.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.show.business.common.core.domain.AjaxResult;
import com.show.business.integrate.bean.DyvmMessage;
import com.show.business.integrate.mapper.DyvmMessageMapper;
import com.show.business.integrate.service.IDyvmMessageService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author dvlp
 * @since 2024-10-25
 */
@Service
public class DyvmMessageServiceImpl extends ServiceImpl<DyvmMessageMapper, DyvmMessage> implements IDyvmMessageService {

    @Override
    public List<DyvmMessage> getList(DyvmMessage dyvmMessage) {
        return baseMapper.getList(dyvmMessage);
    }

    @Override
    public AjaxResult getInfo(String id) {
        return AjaxResult.success(baseMapper.getInfo(id));
    }
}
